package com.lqy.service;

import com.lqy.mapper.SubstationLqyMapper;
import com.lqy.service.Inter.SubstationService;
import com.zzg.entity.Substation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author lqy
 * @version 1.0.0
 * @ClassName：SubstationServiceImpl
 * @Description: 分站管理服务层实现类
 * @date 2021/6/21
 **/
@Service
public class SubstationServiceImpl implements SubstationService {

    /**
     * dao 分站管理的dao层
     */
    @Autowired
    private SubstationLqyMapper substationMapper;

    @Override
    public List<Substation> getSubstation() {
        return substationMapper.getSubstation();
    }
}
